package com.bank.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author bank
 * @since 2022-03-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="BaDeposit对象", description="")
public class BaDeposit implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "存款表id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "存款人")
    private Integer userId;

    @ApiModelProperty(value = "存款金额")
    private Float price;

    @ApiModelProperty(value = "存款时间")
    private Date creatTime;

    @TableField(exist = false)
    private BaUser baUser;

}
